package com.miage.kangourou.shared;

public final class Util {
	public static java.util.Date getDateBySQL(java.sql.Timestamp ts) {
		return new java.util.Date(ts.getTime());
	}

	public static java.sql.Timestamp getTimeStampByJavaDate(java.util.Date date) {
		return new java.sql.Timestamp(date.getTime());
	}
}
